Name :Or arithmetic

Symbol:OR

Illustrate:

    Perform or operate operands. If all inputs are 0, then the result bit is also 0, otherwise it is 1.

Image:

Parameter:

Parameter Statement Type Description
IN1 Input BOOL
The first input value
IN2 Input BOOL
Number of characters
OUT Output BOOL
The result of the calculation

Example:

LD:

ST:



Interpretation:

parameter operandvalue
IN1TagIn1input:TRUE
IN2TagIn2input:FALSE
OUTTagOutoutput:TRUE
	As long as one input is 1, the result is 1.